/**
 * <pre>
 * Title: 		MessageService.java
 * Project: 	itfints
 * Author:		pengfangliang
 * Create:	 	2012-7-4 上午10:50:35
 * Copyright: 	Copyright (c) 2012
 * Company:		Shenzhen Helper
 * <pre>
 */
package com.hengpeng.itfints.service.message;

import java.util.LinkedHashMap;
import java.util.List;

import com.hengpeng.common.persist.query.model.Order.OrderType;
import com.hengpeng.itfinbase.persist.Message.MessageType;

/**
 * <pre>
 *  站内信服务层接口
 * </pre>
 * @author pengfangliang
 * @version 1.0, 2012-7-4
 */
public interface MessageService
{
	/**
	 * <pre>
	 *  查询站内信
	 * </pre>
	 * @param betCardNo 投注卡号
	 * @param type 类型
	 * @return
	 */
	List<Object> findMessageWithPage(String betCardNo, MessageType type, Integer pageIndex, Integer pageSize,
			LinkedHashMap<String, OrderType> sort);

	Long findMessageWithCount(String betCardNo, MessageType type);
}
